/*
 * @Author: yangrongxin
 * @Date: 2021-08-16 16:48:23
 * @LastEditors: yangrongxin
 * @LastEditTime: 2021-09-14 10:43:33
 */
import request, { Request } from '@/restful/index';

/* 获取当前的用户详情数据 */
export const queryUserDetail = async () => request(Request.User.queryUserDetail);

/* 更新当前的用户信息 */
export const updateUserDetail = async (data: any) => request(Request.User.updateUserInfo, data);

/* 更新基本的用户信息 */
export const updateBaseUserInfo = async (data: any) => request(Request.User.updateBaseInfo, data);
